package com.wetao.lib_common.greendao.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Generated;

//暂时没有做
@Entity
public class ExamListen {
    @Id(autoincrement = true)
    private Long id;
    //听力资源url
    private String listeningUrl;
    //听力时长
    private Integer duration;
    //试题id
    private String quesitonIdArr; //是一个list, 使用逗号隔开，这一个音频可以在那些试题中使用


    @NotNull
    private Long assistantExamId;


    @Generated(hash = 745055110)
    public ExamListen(Long id, String listeningUrl, Integer duration,
            String quesitonIdArr, @NotNull Long assistantExamId) {
        this.id = id;
        this.listeningUrl = listeningUrl;
        this.duration = duration;
        this.quesitonIdArr = quesitonIdArr;
        this.assistantExamId = assistantExamId;
    }


    @Generated(hash = 995966630)
    public ExamListen() {
    }


    public Long getId() {
        return this.id;
    }


    public void setId(Long id) {
        this.id = id;
    }


    public String getListeningUrl() {
        return this.listeningUrl;
    }


    public void setListeningUrl(String listeningUrl) {
        this.listeningUrl = listeningUrl;
    }


    public Integer getDuration() {
        return this.duration;
    }


    public void setDuration(Integer duration) {
        this.duration = duration;
    }


    public String getQuesitonIdArr() {
        return this.quesitonIdArr;
    }


    public void setQuesitonIdArr(String quesitonIdArr) {
        this.quesitonIdArr = quesitonIdArr;
    }


    public Long getAssistantExamId() {
        return this.assistantExamId;
    }


    public void setAssistantExamId(Long assistantExamId) {
        this.assistantExamId = assistantExamId;
    }

}
